package com.newhero.product.module.sys.mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.newhero.product.common.mybatis.mapper.BaseMapper;
import com.newhero.product.common.mybatis.plugins.Page;
import com.newhero.product.common.mybatis.plugins.pagination.Pagination;
import com.newhero.product.module.sys.model.User;
import com.newhero.product.module.sys.model.vo.UserVo;

/**
 * @ClassName: UserMapper 
 * @Description: User 表数据库控制层接口 
 * @author Caolj 648198687@qq.com 
 * @date 2017-4-19 下午5:39:58
 */
public interface UserMapper extends BaseMapper<User> {

	int checkIfUserLoginNameExist(@Param("userID")String userID, @Param("userLoginName")String userLoginName);

	List<UserVo> selectUserVoPage(Pagination page, Map<String, Object> params);

	List<UserVo> selectUserListPage(Pagination page, Map<String, Object> params);
	
}